<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <title>“安心北宅”-智慧应急平台</title>
    <link rel='Shortcut Icon' type='image/x-icon' href='./images/windows.ico'>
    <script type="text/javascript" src="/js/admin/jquery-2.2.4.min.js"></script>
    <link href="/css/admin/animate.css" rel="stylesheet">
    <script type="text/javascript" src="./component/layer-v3.0.3/layer/layer.js"></script>
    <link rel="stylesheet" href="/component/font-awesome-4.7.0/css/font-awesome.min.css">
    <link href="/css/admin/default.css" rel="stylesheet">
    <script type="text/javascript" src="/js/admin/win10.js"></script>
    <!-- <script src="https://cdn.jsdelivr.net/npm/vue"></script> -->
	<script src="/js/indexvue.js"></script>
    <script type="text/javascript" src="/js/vue.min.js"></script>
    <style>
        * {
            font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", 华文细黑, STHeiti, MingLiu
        }
        /*磁贴自定义样式*/
        .win10-block-content-text {
            line-height: 44px;
            text-align: center;
            font-size: 16px;
        }
    </style>
    <script>
        Win10.onReady(function () {
            //设置壁纸
            Win10.setBgUrl({
                main: './images/main5.jpg',
                mobile: './img/wallpapers/mobile.jpg',
            });

            Win10.setAnimated([
                'animated flip',
                'animated bounceIn',
            ], 0.01);
            //进入全屏模式
            var de = document.documentElement;
            if (de.requestFullscreen) {
                de.requestFullscreen();
            } else if (de.mozRequestFullScreen) {
                de.mozRequestFullScreen();
            } else if (de.webkitRequestFullScreen) {
                de.webkitRequestFullScreen();
            }
        });
    </script>
</head>
<body>
<div id="win10">
    <div class="desktop">
        <div id="win10-shortcuts" class="shortcuts-hidden">
@if($role == 'admin' || ($role=='community_admin' && in_array('11',$menus) )     )
			<div class="shortcut"
			     onclick="Win10.openUrl('{{ url('/admin/user/module1') }}',
			             '<img class=\'icon\' src=\'./img/icon/doc.png\'/>“安心北宅”-智慧应急平台-安全生产基础数据')">
				<img class="icon" src="./img/icon/doc.png"/ style="width:42px;height:42px;margin-bottom: 11px;margin-top:6px">
			    <div class="title">安全生产基础数据</div>
			</div>
@endif
@if($role == 'admin' || ($role=='community_admin' && in_array('12',$menus) )     )
			<div class="shortcut"
			     onclick="Win10.openUrl('{{ url('/admin/user/module2') }}',
			             '<img class=\'icon\' src=\'./img/icon/kqgl.png\'/>“安心北宅”-智慧应急平台-安全员、微型消防员等智能管理')">
				<img class="icon" src="./img/icon/kqgl.png"/ style="width:42px;height:42px;margin-bottom: 11px;margin-top:6px">
			    <div class="title">安全员、微型消防员等智能管理</div>
			</div>
@endif
@if($role == 'admin' || ($role=='community_admin' && in_array('13',$menus) )     )
			<div class="shortcut"
			     onclick="Win10.openUrl('{{ url('/admin/user/module3') }}',
			             '<img class=\'icon\' src=\'./img/icon/yj.png\'/>“安心北宅”-智慧应急平台-应急物资储备管理')">
				<img class="icon" src="./img/icon/yj.png"/ style="width:42px;height:42px;margin-bottom: 11px;margin-top:6px">
			    <div class="title">应急物资储备管理</div>
			</div>
@endif
@if($role == 'admin' || ($role=='community_admin' && in_array('14',$menus) )     )
			<div class="shortcut"
			     onclick="Win10.openUrl('{{ url('/admin/user/module4') }}',
			             '<img class=\'icon\' src=\'./img/icon/aq.png\'/>“安心北宅”-智慧应急平台-安全生产教育培训')">
				<img class="icon" src="./img/icon/aq.png"/ style="width:42px;height:42px;margin-bottom: 11px;margin-top:6px">
			    <div class="title">安全生产教育培训</div>
			</div>
@endif
@if($role == 'admin' || ($role=='community_admin' && in_array('15',$menus) )     )
			<div class="shortcut"
			     onclick="Win10.openUrl('{{ url('/admin/user/module5') }}',
			             '<img class=\'icon\' src=\'./img/icon/qy.png\'/>“安心北宅”-智慧应急平台-企业自查自纠')">
				<img class="icon" src="./img/icon/qy.png"/ style="width:42px;height:42px;margin-bottom: 11px;margin-top:6px">
			    <div class="title">企业自查自纠</div>
			</div>
@endif
@if($role == 'admin')
<!-- 老版本地图服务 /admin/mapall -->
			<div class="shortcut"  onclick="Win10.openUrl('{{ url('/admin/daping/index') }}',
			             '<img class=\'icon\' src=\'./img/icon/win10.png\'/>“安心北宅”-智慧应急平台-地图服务','max')">
				<img class="icon" src="./img/icon/win10.png" />
			    <div class="title">地图服务</div>
			</div>
@endif
@if($role == 'admin' || ($role=='community_admin' && in_array('16',$menus) )     )
			<div class="shortcut" onclick="Win10.openUrl('{{ url('/admin/examview/samerandomclap') }}',
			     '<img class=\'icon\' src=\'./img/icon/pai.png\'/>“安心北宅”-智慧应急平台-随手拍')">
				<img class="icon" src="./img/icon/pai.png" /
					style="width:42px;height:42px;margin-bottom: 11px;margin-top:6px">
				<div class="title">随手拍</div>
			</div>
@endif
@if($role == 'admin' || ($role=='community_admin' && in_array('17',$menus) )     )
			<div class="shortcut" onclick="Win10.openUrl('{{ url('/admin/msg/msglist') }}',
			     '<img class=\'icon\' src=\'./img/icon/msg.png\'/>“安心北宅”-智慧应急平台-消息通知')">
				<img class="icon" src="./img/icon/msg.png" /
					style="width:42px;height:42px;margin-bottom: 11px;margin-top:6px">
				<div class="title">消息通知</div>
			</div>
@endif
@if($role == 'admin')
			<div class="shortcut"
			     onclick="Win10.openUrl('{{ url('/admin/user/system') }}',
			             '<img class=\'icon\' src=\'./img/icon/dep.png\'/>“安心北宅”-智慧应急平台-系统管理')">
				<img class="icon" src="./img/icon/dep.png"/ style="width:42px;height:42px;margin-bottom: 11px;margin-top:6px">
			    <div class="title">系统管理</div>
			</div>
@endif


            <a class="shortcut" href="{{ url('/admin/logout') }}">
                <img class="icon" src="./img/icon/lresew.png"/>
                <div class="title">退出系统</div>
            </a>


        </div>
        <div id="win10-desktop-scene"></div>
    </div>
    <div id="win10-menu" class="hidden">
        <div class="list win10-menu-hidden animated animated-slideOutLeft">
            <div class="item"
                 onclick="Win10.exit()">
                <i class="black icon fa fa-power-off fa-fw"></i><span class="title">关闭</span>
            </div>
        </div>
        <div class="blocks">
            <div class="menu_group">
                <div class="title">Welcome</div>
                <div class="block" loc="1,1" size="6,4">
                    <div class="content">
                        <div style="font-size:100px;line-height: 132px;margin: 0 auto ;display: block"
                             class="fa fa-fw fa-windows win10-block-content-text"></div>
                        <div class="win10-block-content-text" style="font-size: 22px">欢迎使用 “安心北宅”-智慧应急平台</div>
                    </div>
                </div>
            </div>
        </div>
        <div id="win10-menu-switcher"></div>
    </div>
    <div id="win10_command_center" class="hidden_right">
        <div class="title">
            <h4 style="float: left">消息中心 </h4>
            <span id="win10_btn_command_center_clean_all">全部清除</span>
        </div>
        <div class="msgs"></div>
    </div>
    <div id="win10_task_bar">
        <div id="win10_btn_group_left" class="btn_group">
            <div id="win10_btn_win" class="btn"><span class="fa fa-windows"></span></div>
        </div>
        <div id="win10_btn_group_middle" class="btn_group"></div>
        {{--<div id="win10_btn_group_right" class="btn_group">--}}
            {{--<div class="btn" id="win10_btn_time"></div>--}}
            {{--<div class="btn" id="win10_btn_command"><span id="win10-msg-nof" class="fa fa-comment-o"></span></div>--}}
            {{--<div class="btn" id="win10_btn_show_desktop"></div>--}}
        {{--</div>--}}
    </div>
</div>
</body>
</html>
